package com.wfh.mapper;

import com.wfh.model.entity.Blog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author lenovo
* @description 针对表【blog】的数据库操作Mapper
* @createDate 2025-04-18 17:26:50
* @Entity com.wfh.model.entity.Blog
*/
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {

    /**
     * 批量更新博客的点赞数
     * @param countMap
     */
    void batchUpdateThumbCount(@Param("countMap")Map<Long, Long> countMap);
}




